<?php

namespace app\model\order;

use think\Model;

/**
 * t_order_comment 订单评价
 * @property integer $id id(主键)
 * @property integer $order_id 订单id
 * @property integer $order_detail_id 商品详情id
 * @property integer $goods_id 关联的产品的id
 * @property string $goods_name 评论的商品名
 * @property integer $type 类型 1:好评 2:中评 3:差评
 * @property integer $desc_match 描述是否相符 1~5
 * @property string $sku sku
 * @property string $content 评价内容
 * @property string $pictures 评价图
 * @property integer $user_id 评价人id
 * @property string $user_name 评价人名
 * @property string $user_avatar 评论人头像
 * @property string $create_time 评价时间
 * @property string $update_time 更新时间
 */
class OrderComment extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_order_comment';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';

    
}
